a = list(input().split(","))
sum = 0
for i in range(0,len(a)):
    sum += float(a[i])
    value = sum/len(a)
for i in range(0,len(a)):
    if value < float(a[i]):
        print(a[i],end = " ")